package com.groupbuying.cheetah.pay.dao;

import com.groupbuying.cheetah.pay.domain.PayInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 订单支付主记录
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-06-04 08:38:32
 * @des
 */

@Mapper
@Repository
public interface PayInfoDao {

	PayInfoDO get(String id);
	
	List<PayInfoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(PayInfoDO payInfo);
	
	int update(PayInfoDO payInfo);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
